home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / source.exe / POSIX / TOUCH / MAKEFILE < prev    next >
Text File  |  1993-08-10  |  633b  |  24 lines

  1. !include <ntwin32.mak>
  2.  
  3. C_DEFINES=-DWIN_NT -DSTDC_HEADERS -D_POSIX_SOURCE -DDIRENT -DSTACK_DIRECTION=-1 -D__STDC__ -DDF_POSIX -D_POSIX_ -DCONVERT_TO_SLASHES -UCONVERT_TO_BACKSLASHES
  4. C_INCLUDES=-I..\include\bsd -I..\include\df
  5.  
  6. all: touch.exe
  7.  
  8. ..\bsdpsx\bsdpsx.lib:
  9.     cd ..\bsdpsx
  10.     nmake
  11.     cd ..\touch
  12.  
  13. touch.obj: touch.c *.h
  14.  
  15. toucglob.obj: toucglob.c *.h
  16.  
  17. glob.obj: glob.c *.h
  18.  
  19. touch.exe: touch.obj toucglob.obj glob.obj ..\bsdpsx\bsdpsx.lib
  20.     $(link) $(linkdebug) $(psxflags) -out:$*.exe $** $(psxlibs) ..\bsdpsx\bsdpsx.lib
  21.  
  22. .c.obj:
  23.     $(cc) $(cflags) $(psxvars) $(cvars) $(cdebug) $(C_DEFINES) $(C_INCLUDES) $*.c
  24.